package com.wrupple.muba.common.shared.event;

import com.google.gwt.event.shared.GwtEvent;

public class ExpectedOutcomeFoundEvent extends GwtEvent<ExpectedOutcomeFoundHandler> {

	public static final Type<ExpectedOutcomeFoundHandler> TYPE = new Type<ExpectedOutcomeFoundHandler>();
	
	public Object outcome;

	public ExpectedOutcomeFoundEvent(Object outcome) {
		super();
		this.outcome = outcome;
	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<ExpectedOutcomeFoundHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(ExpectedOutcomeFoundHandler handler) {
		handler.onExpectedOutcomeFound(this);
	}

	public Object getOutcome() {
		return outcome;
	}
	
	

}
